/* DISCLAIMER
Original file written by Johnny on Flame.
This piece is protected by the GPLv3 License. Commercial uses of this should only happen with my consent.
JohnnyonFlame (a_t) Hotmail (d_o_t) com
*/

#ifndef __items_h__
#define __items_h__

#include <libxml/tree.h>
#include "SDL/SDL_ttf.h"

typedef struct {
	void (*funcCallback)();
	void* (*drawCallback)(TTF_Font *f, char *c, int sel, int n);
	char *overlay_file;
	char *label;
	char *type;
	void *arga; void *argb; //Argument for CallBack Functions.
} List_Item;

typedef struct {
	List_Item *items;
	void *previous;
	unsigned int count;
} List_Items;

void *ITEM_Alloc(char *label, void *callback);
void *List_Alloc(unsigned int count);

/*text
label
overlay
list
binary*/

#endif

